package com.ssy.bus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssy.bus.pojo.Department;
import com.ssy.bus.vo.DepartmentVo;
import com.ssy.common.utils.PageResult;
import com.ssy.common.utils.Result;

/**
 * @author ssy
 */
public interface IDepartmentService extends IService<Department> {

    PageResult selectAllDepartment(DepartmentVo departmentVo);

    Result addDepartment(Department department);

    Result deleteDepartmentById(Integer id);

    Result bathDepartment(Integer[] ids);

    Result updateDepartmentById(Department department);

    Department queryDepartmentById(Integer id);

    Result LoadAllDepartment();

    int clearRegister();

}
